import {RouterModule, Routes} from '@angular/router';
import {EchartsComponent} from './echarts.component';
import {NgModule} from '@angular/core';

const routes: Routes = [
  {
    path: '',
    component: EchartsComponent,
    data: {
      title: '图表'
    },
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class EchartsRoutingModule {
}
